<div class="content-section introduction">
    <div>
        <span class="feature-title">Icons</span>
        <span>PrimeNG components internally use <a href="https://github.com/primefaces/primeicons">PrimeIcons</a> library, the official icons suite from <a href="https://www.primetek.com.tr">PrimeTek</a>.</span>
    </div>
</div>

<div class="content-section documentation icons-documentation">
    <h3 style="margin-top:0px">Download</h3>
    <p>PrimeIcons is available at npm, run the following command to download it to your project.</p>
<pre>
<code class="language-markup" pCode ngNonBindable>
npm install primeicons --save
</code>
</pre>

    <h3>Getting Started</h3>
    <p>PrimeIcons use the <strong>pi pi-&#123;icon&#125;</strong> syntax such as <strong>pi pi-check</strong>. A standalone icon can be displayed using an element such as <i>i</i> or <i>span</i></p>

<pre>
<code class="language-markup" pCode ngNonBindable>
&lt;i class="pi pi-check"&gt;&lt;/i&gt;
&lt;i class="pi pi-times"&gt;&lt;/i&gt;
</code>
</pre>

<i class="pi pi-check"></i>
<i class="pi pi-times"></i>

    <h3>Size</h3>
    <p>Size of the icons can easily be changed using font-size property.</p>

<pre>
<code class="language-markup" pCode ngNonBindable>
&lt;i class="pi pi-check"&gt;&lt;/i&gt;
</code>
</pre>
    <i class="pi pi-check"></i>

<pre>
<code class="language-markup" pCode ngNonBindable>
&lt;i class="pi pi-check" style="font-size: 3em"&gt;&lt;/i&gt;
</code>
</pre>
<i class="pi pi-check" style="font-size: 3em"></i>

    <h3>Spinning Animation</h3>
    <p>Special pi-spin class applies infinite rotate to an icon.</p>
<pre>
<code class="language-markup" pCode ngNonBindable>
&lt;i class="pi pi-spin pi-spinner" style="font-size: 3em"&gt;&lt;/i&gt;
</code>
</pre>
<i class="pi pi-spin pi-spinner" style="font-size: 3em"></i>

    <h3>List of Icons</h3>
    <p>Here is the current list of PrimeIcons, more icons will be added periodically. You may also <a href="https://github.com/primefaces/primeicons/issues">request new icons</a> at the issue tracker.</p>
    <div>
        <input class="icon-filter" (input)="onFilter($event)" pInputText [ngStyle]="{width: '100%', padding: '1em', margin: '16px 0 26px 0'}" placeholder="Search an icon"> 
    </div>

    <div class="ui-g icons-list">
        <div class="ui-g-12 ui-md-2" *ngFor="let icon of filteredIcons">
            <i class="pi pi-{{icon.properties.name}}"></i>
            <div>pi-{{icon.properties.name}}</div>
        </div>
    </div>
</div>
